package com.lanou3g.ptp.student.mapper;

import com.lanou3g.ptp.entity.Student;
import com.lanou3g.ptp.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StudentMapper {
    /*
    查询所有学生
     */
    List<Student> studentAll();

    Student studentById(Long id);

    int deleteById(Long id);

    int upStudent(@Param("id")Long id, @Param("student")Student student);

    int addStudent(@Param("student")Student student,@Param("di")Long id);

    Long findClazzId(Long clazzId);
}
